<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>属性绑定</title>
</head>
<body>
<div>
  {{info}}
<!--  属性绑定：让某个属性和变量的值进行绑定-->
  <input type="text" :value="info" >
  <input type="text" v-bind:value="info">
    <a :href="url">超链接</a>
    <img :src="imgName" height="50px">
</div>
<script src="../../js/vue.min.js"></script>
<script>
  let v = new Vue({
    el:"body>div",
    data:{
        info:"属性绑定",
        url:"http://www.baidu.com",
        imgName:".././imgs/apple.png"

    }
  })
</script>
</body>
</html>